<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title></title>
		<script type="text/javascript" src="js/userAgent.js" ></script>
	</head>
	<body>
		<script>
			document.write("userAgent:")
			document.write(navigator.userAgent);
			document.write("<br/>");
		</script>
		<h2>渲染引擎</h2>
	    <ul>
	        <li>userAgent.engine.ie = <script>document.write(userAgent.engine.ie);</script></li>
	        <li>userAgent.engine.webkit = <script>document.write(userAgent.engine.webkit);</script></li>
	        <li>userAgent.engine.gecko = <script>document.write(userAgent.engine.gecko);</script></li>
	        <li>userAgent.engine.khtml = <script>document.write(userAgent.engine.khtml);</script></li>
	        <li>userAgent.engine.opera = <script>document.write(userAgent.engine.opera);</script></li>
	        <li>userAgent.engine.ver = <script>document.write(userAgent.engine.ver);</script></li>
	
	    </ul>
	    <h2>Browsers</h2>
	    <ul>
	        <li>userAgent.browser.ie = <script>document.write(userAgent.browser.ie);</script></li>
	        <li>userAgent.browser.safari = <script>document.write(userAgent.browser.safari);</script></li>
	        <li>userAgent.browser.firefox = <script>document.write(userAgent.browser.firefox);</script></li>
	        <li>userAgent.browser.konq = <script>document.write(userAgent.browser.konq);</script></li>
	        <li>userAgent.browser.opera = <script>document.write(userAgent.browser.opera);</script></li>
	        <li>userAgent.browser.chrome = <script>document.write(userAgent.browser.chrome);</script></li>
	        <li>userAgent.browser.ver = <script>document.write(userAgent.browser.ver);</script></li>
	    </ul>
	    
	    <h2>System</h2>
	    <ul>
	        <li>userAgent.system.win = <script>document.write(userAgent.system.win);</script></li>
	        <li>userAgent.system.mac = <script>document.write(userAgent.system.mac);</script></li>
	        <li>userAgent.system.x11 = <script>document.write(userAgent.system.x11);</script></li>
	        <li>userAgent.system.iphone = <script>document.write(userAgent.system.iphone);</script></li>
	        <li>userAgent.system.ipod = <script>document.write(userAgent.system.ipod);</script></li>
	        <li>userAgent.system.ipad = <script>document.write(userAgent.system.ipad);</script></li>
	        <li>userAgent.system.ios = <script>document.write(userAgent.system.ios);</script></li>
	        <li>userAgent.system.android = <script>document.write(userAgent.system.android);</script></li>
	        <li>userAgent.system.nokiaN = <script>document.write(userAgent.system.nokiaN);</script></li>
	        <li>userAgent.system.winMobile = <script>document.write(userAgent.system.winMobile);</script></li>
	        <li>userAgent.system.wii = <script>document.write(userAgent.system.wii);</script></li>
	        <li>userAgent.system.ps = <script>document.write(userAgent.system.ps);</script></li>    
	    </ul> 
		
		<script>
			function isSortable(obj){
				return typeof obj.sort == "function";
			}
			function hasCreateElement(){
				return typeof document.createElement == "function";
			}
		</script>
	</body>
</html>
